package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.entity.common.TblOrderAuditReport;

import javax.sql.rowset.serial.SerialException;
import java.util.Map;

/**
 * 订单稽核报表 服务类
 *
 * @author Ximi
 * @since 2020-09-22
 */

public interface ITblOrderAuditReportService extends IBaseService {

    /**
     * 通过事务号来删除数据
     *
     * @param transactionalNo
     */
    public void deleteByTransactionalNo(long transactionalNo);

    /**
     * 获取合计
     *
     * @param params
     * @return
     */
    public TblOrderAuditReport getFoot(Map<String, Object> params);

    /**
     * 根据优购主订单号,获取原始外部订单号
     *
     * @param refBillNoStr
     * @return
     * @throws ServiceException
     */
    public String getSpOrderNo(String[] refBillNoStr) throws ServiceException;

}
